package com.skin;

import android.app.Activity;
import android.app.Application;
import android.view.View;

import com.skin.bean.SkinInfo;

/**
 * Created by chenxunlin01 on 2017/1/20.
 */

public interface ISkinManager {

    /**
     * 加载相关配置
     */
    public void init(Application application);

    public void registerActivity(Activity activity);

    public void unRegisterActivity(Activity activity);

    /**
     * 切换皮肤包
     * @param skinfo
     */
    public void switchSkin(SkinInfo skinfo);

    /**
     * 换肤
     * @param view
     */
    public void skinPeeler(View view);

    public void skinPeerler(Activity activity);

}
